package meconsea.life.clan.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import meconsea.life.sys.entity.AbsEntity;

import org.hibernate.annotations.Type;

@Entity
@Table(name="CLAN_SUBJECT")
public class ClanSubject extends AbsEntity {
	
	@Column(name="clanId")
	private String clanId;
	
	@Column(name="subtitle")
	private String subTitle;
	
	@Column(name="subContent")
	@Type(type="text")
	private String subContent;
	
	@Column(name="createUser")
	private String createUser;
	
	@Column(name="createTime")
	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime = new Date();
	
	@Column(name="clanType")
	private String clanType;
	
	@Column(name="revertSum")
	@Type(type="integer")
	private String revertSum;
	
	@Column(name="lastreverttime")
	@Temporal(TemporalType.DATE)
	private Date lastRevertTime;
	
	@Column(name="lastrevertuser")
	private String lastRevertUser;
	
	@Column(name="readPopedom")
	@Type(type="integer")
	private Integer readPopedom;
	
	@Column(name="revertPopedom")
	@Type(type="integer")
	private Integer revertPopedom;
	
	@Column(name="keywords")
	private String keywords;

	public String getClanId() {
		return clanId;
	}

	public void setClanId(String clanId) {
		this.clanId = clanId;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public String getSubContent() {
		return subContent;
	}

	public void setSubContent(String subContent) {
		this.subContent = subContent;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getClanType() {
		return clanType;
	}

	public void setClanType(String clanType) {
		this.clanType = clanType;
	}

	public String getRevertSum() {
		return revertSum;
	}

	public void setRevertSum(String revertSum) {
		this.revertSum = revertSum;
	}

	public Date getLastRevertTime() {
		return lastRevertTime;
	}

	public void setLastRevertTime(Date lastRevertTime) {
		this.lastRevertTime = lastRevertTime;
	}

	public String getLastRevertUser() {
		return lastRevertUser;
	}

	public void setLastRevertUser(String lastRevertUser) {
		this.lastRevertUser = lastRevertUser;
	}

	public Integer getReadPopedom() {
		return readPopedom;
	}

	public void setReadPopedom(Integer readPopedom) {
		this.readPopedom = readPopedom;
	}

	public Integer getRevertPopedom() {
		return revertPopedom;
	}

	public void setRevertPopedom(Integer revertPopedom) {
		this.revertPopedom = revertPopedom;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	
	
}
